<!DOCTYPE html>
<html lang="en">
<head>
<?php   
  echo $this->headTitle(),"\n";
  echo $this->headMeta(),"\n";
  echo $this->jQuery(),"\n";
  echo $this->headStyle(),"\n";  
  echo $this->headScript(),"\n"; 
  echo $this->headLink(),"\n";
  
 ?> 
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 

</head>
<body>

<header id="main_header"> 
 	 	
		<nav id="main_header_navigation" >
			<ul class="main">
				<li><a href="/admin">Home</a></li>
				<li id="menu_parameter">
					<a href="/admin/parameter/city">PARAMETER</a>
					<ul id="item_menu"  class="sub_menu">
		               <li><a href="/admin/parameter/bdd/name/Country" title="Country">Country</a></li>
		               <li><a href="/admin/parameter/region" title="Region">Region</a></li>
		                <li><a href="/admin/parameter/city" title="City">City</a></li>
		                 <li><a href="/admin/parameter/bdd/name/Theme" title="Theme">Theme</a></li>
		               <li class="last"><a href="/admin/parameter/bdd/name/Tourtype" title="Tour Type">Tour Type</a></li>
					</ul>  
				</li>
				<li id="menu_tour">
					<a href="/admin/tour/tour">TOUR</a>
					<ul id="item_menu"  class="sub_menu">
		               <li><a href="/admin/tour/tour" title="Tours">Tour</a></li>
		               <li><a href="/admin/parameter/bdd/name/Inclusions" title="Inclusions">Inclusions</a></li>
		               <li><a href="/admin/parameter/bdd/name/Exclusions" title="Exclusions">Exclusions</a></li>
		               <li><a href="/admin/parameter/bdd/name/Cancellation" class="last" title="Cancellation">Cancellation</a></li>
					</ul>  
				</li>
				<li id="menu_hotel">
					<a href="#">HOTEL</a>
					<ul id="item_menu"  class="sub_menu">
					<li><a href="/admin/hotel" title="Sub Nav Link 4">Hotels</a></li>
			           <li><a href="/admin/parameter/bdd/name/Accomodation" title="Sub Nav Link 3">Accomodation</a></li>
			           <li class="last"><a href="/admin/parameter/bdd/name/Service" title="Sub Nav Link 5">Service</a></li>
					</ul>  
				</li>
				<li id="menu_guide">
					<a href="#">COUNTRY GUIDE</a>
					<ul id="item_menu"  class="sub_menu">
				       <li><a href="/admin/countryguide/index" title="Spot">Spot</a></li>
				        <li><a href="/admin/parameter/bdd/name/Spot" title="Spot Detail">Spot Detail</a></li>
				         <li><a href="/admin/countryguide/shopping" title="Shopping">Shopping and Entertainment</a></li>
				          <li><a href="/admin/countryguide/restaurant" title="Spot Detail">Restaurants and Bar</a></li>
				       <li class="last"><a href="/admin/countryguide/interest" title="Place Of Interest">Place Of Interest</a></li>
					</ul> 
				</li>
				<li><a href="/admin/page">PAGE</a></li>		
				<li id="menu_about">
				<a href="#">ABOUT US</a>
					<ul id="item_menu"  class="sub_menu">
						<li><a href="/admin/aboutus/newsletter" >News Letter</a></li>
				    	<li><a href="/admin/aboutus/career" >Careers</a></li>
				        <li><a href="/admin/aboutus/partner" >Partners</a></li>
				       <li class="last"><a href="/admin/aboutus/indext">About Us</a></li>
					</ul> 
				</li>
				<li><a href="/admin/gallery">GALLERY</a></li>
				<li><a href="#">MAKE YOUR OWN TRIP</a></li>
			</ul>
		</nav>
	
		<span class="login"><img src="/images/admin/avatar.png"/> <?php echo Zend_Registry::get('fullname'); ?>, <a href="<?php echo $this->baseUrl;?>/admin/index/logout" >Logout</a></span>
	
</header>

<section id="main_content">
        
       
        <div class="text_manager"><?php echo $this->manager;?></div>
        
        <?php echo $this->render('includes/flashmessenger.phtml');?>
        
        <div id="content">
			<?php echo $this->layout()->content;?>
        </div>
       
        <footer id="pageFooter">
             <p>&copy;copyright 2012 Starseed</p>
        </footer>
        
</section>

	
<section id="main_left">
<nav>
<ul class="left-menu">
<?php 
if(isset($this->layout()->menu))
{
	$arr=$this->layout()->menu;
	$len = count($arr);
	for($i=1;$i<$len;$i++)
	{
		?>
		<li><a href="<?php echo $this->baseUrl();?>/admin/<?php echo $arr[0]?>/<?php echo str_replace(' ','',strtolower($arr[$i]))?>"><?php echo $arr[$i]?></a></li>
		<?php 
	}
}
?>
</ul>
</nav>
<span class="sidebar-left icon icon-maximum"></span>

<div style="margin-left: 100px; border-left : 1px solid #CCCCCC;margin-right: 20px"  >
<div style="margin-left:20px;" ></div>

</div>
</section>
</body>
</html>